package com.smile.ye.data.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.smile.ye.data.entity.ProductItemEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("创建商品实体")
public class ProductItemCreateDto extends ProductItemEntity {

    @ApiModelProperty("商品菜单")
    String menu;

    @ApiModelProperty("商品菜单")
    String code;

    @ApiModelProperty("商品菜单")
    String title;

    @ApiModelProperty("商品菜单")
    String description;

    @ApiModelProperty("商品菜单")
    String coverUrl;

    @ApiModelProperty("商品菜单")
    Integer price;

    @ApiModelProperty("商品菜单")
    Integer stockTotal;

    @ApiModelProperty("商品菜单")
    String status;

    @ApiModelProperty("商品菜单")
    String sort;

}
